//
//  Fir_TableViewController.m
//  Project_Demo
//
//  Created by caoxiaozhu on 2018/6/29.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import "Fir_TableViewController.h"

@interface Fir_TableViewController ()

@end

@implementation Fir_TableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
//    self.dataArr = @[@"UI类",@"线程相关",@"实用技术",@"框架相关",@"动画类"];
//    self.sectionNum = 1;
    
    
    [self clickToPush];
}

-(void)clickToPush{
    
    [self setupDataArr:@[@[@"实用技术",@"PracticalViewController"],@[@"线程相关",@"ThreatViewController"],@[@"UI界面相关",@"UI_ViewController"],@[@"网络请求封装类",@"NetWorkRequestViewController"],@[@"KVO & KVC",@"XZ_KvcAndKvoController"],@[@"Swift相关",@"SwiftBasicTableView"]]];
    
//    __weak typeof(self)weakSelf = self;
    
//    self.clickBackBlock = ^(NSString *title) {
////        NSLog(@"title===>%@",title);
//        if ([title isEqualToString:@"实用技术"]) {
//            PracticalViewController *practicalVc = [PracticalViewController new];
//            [weakSelf.navigationController pushViewController:practicalVc animated:true];
//        }else if ([title isEqualToString:@"线程相关"]){
//            ThreatViewController *threatVc = [ThreatViewController new];
//            [weakSelf.navigationController pushViewController:threatVc animated:true];
//        }
//    };
}



@end
